package com.ibeeking.found.msg.service.common.param;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName MpInfoParam
 * @Description
 * @Author ibeeking
 * @Date 2020-12-30 09:11
 **/
@Data
public class WxMpMenuParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * appId
     */
    @NotNull(message = "公众号Id不能为空")
    private String appId;

    @NotEmpty(message = "菜单不能为空")
    private List<WxMpMenuButtonParam> buttons;
}
